﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class GuDingD : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        ID = Request.QueryString["ID"].ToString();
        string sql;
        sql = "delete from 公寓固定资产信息 where ID='" + ID + "'";
        int result;
        result = new Class1().hsgexucute(sql);
        if (result > 0)
        {
            Response.Write("<script>javascript:alert('操作成功');window.navigate('GuDing_list.aspx');</script>");
        }
        else
        {
            Response.Write("<script>javascript:alert('操作失败');window.navigate('GuDing_list.aspx');</script>");
        }
    }

}
